package com.xiaocg.spring.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class PersonProxy {

    @Before(value = "execution(* com.xiaocg.spring.aop.Person.add(..))")
    public void  before(){
        System.out.println("before ...............");
    }
}
